package com.myplans.client;

import java.util.HashMap;


public enum HistoryTokens {

	HOME("home"),
	LOGOUT("logout"),
	SIGNIN("signin"),
	VIEW_PLAN("view_plan"),
	PROFILE("profile"),
	VIEW_USER("view_user"),
	SEARCH_RESULTS("search_results"),
	SIGNIN_WITH_FACEBOOK("facebook_signIn");

	private String id;
	private static HashMap<String, HistoryTokens> tokens = new HashMap<String, HistoryTokens>();

	static {
		for (HistoryTokens token : HistoryTokens.values()) {
			tokens.put(token.id, token);
		}

	}

	public static HashMap<String, HistoryTokens> getTokens() {
		return tokens;
	}

	private HistoryTokens(String id) {
		this.id = id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

}
